projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a422068
)
(child_setup): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 13 May 1994 07:18:18 +0000
(07:18 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 13 May 1994 07:18:18 +0000
(07:18 +0000)
Don't call nice if emacs_priority is positive.
src/callproc.c
patch
|
blob
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index b3f88e56f661918182577c996967b190cd553c72..cdf8f1a67c042450154944fe55b2207c1acfcf36 100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-574,11
+574,12
@@
child_setup (in, out, err, new_argv, set_pgrp, current_dir)
int pid = getpid ();
-#ifdef
PRIO_PROCESS
+#ifdef
SET_EMACS_PRIORITY
{
extern int emacs_priority;
- nice (- emacs_priority);
+ if (emacs_priority < 0)
+ nice (- emacs_priority);
}
#endif